package com.yundahh.u8c.config;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.HashMap;
import java.util.Map;


@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class U8CConfig {
    private String serverUrl;
    private String system;
    private String usercode;
    private String password;

    public Map getHeaders(){
        Map headers = new HashMap();
        headers.put("system", system);
        headers.put("usercode", usercode);
        headers.put("password", password);
        return headers;
    }
}
